package webservices;

import javax.xml.ws.Endpoint;


public class ConnectionPublisher{
	
	public static void main(String[] args){
		
		ConnectionObject obj= new ConnectionObject();
		Endpoint endpoint = Endpoint.publish("http://localhost:8888/chatConnection", obj);
		boolean status = endpoint.isPublished();
		System.out.println("Web service disponible? "+status);
	}
	
}